package com.link.base.base.visitaccompany.controller;

import com.link.base.base.visitaccompany.model.VisitAccompany;
import com.link.base.base.visitaccompany.service.VisitAccompanyService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 拜访-陪同人员-拜访-陪同人员
 *
 * @author 宁蓝昊
 * @date 2019/03/18 20:05
 */
@Controller
@RequestMapping("/link/visitAccompany")
public class VisitAccompanyController extends BasicController<VisitAccompany> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private VisitAccompanyService visitAccompanyService;

    @Override
    public BasicService<VisitAccompany> getBasicService() throws Exception {
        return visitAccompanyService;
    }
}
